API Documentation
TestFunction.h
1 // TestFunction.h
3 //
5 
6 namespace nkDebug
7 {
11  class TestFunction final
12  {
13  public :
14 
15  // Constructor, destructor
22  TestFunction (nkMemory::StringView name, std::function<void ()> function) ;
27 
28  // Getters
32  std::function<void ()> getFunction () const ;
37  } ;
38 }
nkDebug::TestFunction::getName
nkMemory::StringView getName() const
nkDebug::TestFunction::getFunction
std::function< void()> getFunction() const
nkDebug::TestFunction::~TestFunction
~TestFunction()
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkDebug::TestFunction
Encapsulates a function registered for testing.
Definition: TestFunction.h:12
nkDebug::TestFunction::TestFunction
TestFunction(nkMemory::StringView name, std::function< void()> function)
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7